package com.homedo.microservice.open.service.gateway.manager.web.api.bean.model.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.homedo.common.bean.model.base.BaseAMO;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;

@Data
@ApiModel
public class RouteAResp extends BaseAMO {
    private String id;
    private String applicationName;
    private String path;
    private RouteServiceAResp routeService;
    private Boolean stripPrefix;
    private String addPrefix;
    private Boolean retryable;
    private Boolean customSensitiveHeaders;
    private String sensitiveHeaders;
    private Short statusCode;
    private String statusDesc;
    private Double sort;
    private RouteDomainAResp routeDomain;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.util.Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.util.Date updateTime;
    private String comment;
    private Boolean addHostHeader;

    private List<RouteVersionAResp> routeVersions;//版本列表


}
